package com.xxx.seckill.vo;

import com.xxx.seckill.validator.IsMobile;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotNull;

/**
 * @Author: xxx
 * @Date: 2023/1/2 19:50
 * @Description: 登录Vo
 */
@Data
public class LoginVo {
    
    //手机号码
    @NotNull
    @IsMobile
    private String mobile;
    //密码
    @NotNull
    @Length(min = 32)
    private String password;
}
